package com.wanmait.recycle.service;

import java.util.List;

import com.wanmait.recycle.pojo.RubbishUnit;

public interface RubbishUnitService extends CommonService<RubbishUnit> {
	void insert(String unitString);
	
	List<RubbishUnit> selectById(Integer id);
	
	List<RubbishUnit> findAll();
	//删除一个关联记录
	void deleteOneUnit(Integer rubbishId, Integer unitId);
	//添加一个关联记录
	void insertOneUnit(Integer rubbishId, Integer unitId);
}
